# $Id$
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Maintainer: Guillaume ALAUX <guillaume@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>

pkgname=xerces2-java
pkgver=2.11.0
pkgrel=3
pkgdesc="High performance fully compliant Java XML parser"
arch=('any')
url="http://xml.apache.org/xerces2-j"
license=('APACHE')
depends=('java-runtime' 'java-resolver')
provides=("java-xerces2=${pkgver}")
conflicts=('java-xerces2')
replaces=('java-xerces2')
source=(http://archive.apache.org/dist/xerces/j/Xerces-J-bin.${pkgver}.tar.gz)
md5sums=('29d731e0ae57eb3f2e09af6594bc2515')

package() {
  cd ${srcdir}/xerces-${pkgver//./_}
  install -dm755 ${pkgdir}/usr/share/java
  install -m644 {serializer,xercesImpl,xml-apis}.jar ${pkgdir}/usr/share/java/
}
